package com.wodsy.phoenix.datadao.orderc.dao.impl;

import com.wodsy.phoenix.datadao.base.BaseHibernateDao;
import com.wodsy.phoenix.datadao.orderc.dao.ItemPropertyDao;
import com.wodsy.phoenix.dataobject.orderc.model.ItemProperty;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Repository;

/**
 * 名称：com.wodsy.orderc.datadao.dao.impl
 * 描述：<br>
 * 类型：JAVA<br>
 * 最近修改时间：2015-05-22 <br/>
 *
 * @author jiawenfeng
 * @since 2015-05-22
 */
@Repository("itemPropertyDao")
public class ItemPropertyDaoImpl extends BaseHibernateDao<ItemProperty, Integer>  implements ItemPropertyDao{

    @Override
    @Autowired
    @Qualifier(value="orderc")
    public void setSessionFactory(SessionFactory sessionFactory) {
        this.sessionFactory = sessionFactory;
    }

    @Override
    public Class<ItemProperty> getModelClass() {
        return ItemProperty.class;
    }
}
